<?php

use Illuminate\Database\Seeder;
use App\Models\Application\Application;

class ApplicationSeeder extends Seeder {
    public function run() {
        $datetime = date('Y-m-d H:i:s');
        Application::insert([
            'id'         => 1,
            'name'       => '测试应用',
            'app_id'     => Application::generalAppId(),
            'secret_key' => Application::generalSecretKey(),
            'created_at' => $datetime,
            'updated_at' => $datetime,
        ]);
    }
}